<template>
    <div class="box">
        <h2>Event1组件</h2>
        <span>其它内容</span>
        <br>
        <button @click="$emit('xxx')">触发xxx事件</button>
        <!-- <button @click="$emit('click')">触发click事件</button> -->
    </div>
</template>

<script>
export default {
    name: "Event1",

}
</script>
